package com.ambow.service.impl;

import com.ambow.dao.NewsDao;
import com.ambow.dao.impl.NewsDaoImpl;
import com.ambow.entity.News;
import com.ambow.service.NewsService;
import com.ambow.utils.PageResults;

/**
*@author admin
*@version 创建时间：2017年12月27日下午5:09:12
*/
public class NewsServiceImpl implements NewsService{
	NewsDao dao = new NewsDaoImpl();
	@Override
	public PageResults<News> getPageByFetchedHql(String hql, String countHql, Integer pageNo, Integer pageSize) {
		return dao.getPageByFetchedHql(hql,countHql,pageNo,pageSize);
	}

}
